﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="TaiLieu_downloadL.ascx.cs"
    Inherits="TaiLieu_downloadL" %>
<%@ Import Namespace="TaiLieu" %>
<%--<%@ Register src="TaiLieu_NoiDung.ascx" tagname="TaiLieu_NoiDung" tagprefix="uc1" %>--%>
<table id="Table2" style="width:100%" cellspacing="1" cellpadding="1">
    <tr>
        <td>
            <%--<uc1:TaiLieu_NoiDung ID="TaiLieu_NoiDung1" runat="server" />--%>
        </td>
    </tr>
    <tr>
        <td align="left">
            <asp:GridView runat="server" ID="grid" BorderColor="#CC9966" BorderWidth="1px" ShowHeader="false"
                 RowStyle-BorderStyle="None" Width="100%" AlternatingRowStyle-BackColor="#f8f8f8"
                AlternatingRowStyle-BorderColor="#f8f8f8"  CellPadding="4"
                AutoGenerateColumns="False" AllowSorting="True" BackColor="White" ShowFooter="True"
                AllowPaging="True" OnPageIndexChanging="grid_PageIndexChanging" PageSize="20">
                <Columns>
                    <asp:TemplateField>
                        <ItemTemplate>
                            <a href="?/<%#Eval(ColumTaiLieu_download.query)%>/chi-tiet">
                                <%#Eval(ColumTaiLieu_download.Name)%></a>
                        </ItemTemplate>
                        <HeaderStyle HorizontalAlign="Left" />
                    </asp:TemplateField>
                    <asp:TemplateField >
                        <ItemTemplate>
                            <%#Eval(ColumTaiLieu_download.NumberDownload)%>
                        </ItemTemplate>
                        <HeaderStyle HorizontalAlign="Left" />
                    </asp:TemplateField>
                     <asp:TemplateField >
                        <ItemTemplate>
                            <a href="download.aspx?/<%#Eval(ColumTaiLieu_download.query)%>">Download</a>
                        </ItemTemplate>
                        <HeaderStyle HorizontalAlign="Left" />
                    </asp:TemplateField>
                </Columns>
                <RowStyle BorderStyle="None" BorderWidth="0px" />                
                <AlternatingRowStyle BackColor="#F8F8F8" BorderColor="#F8F8F8" />
            </asp:GridView>
        </td>
    </tr>
</table>
